#pragma once


typedef void (*CallbackFun)(int height, int width, unsigned char *h_greyImage);

int rgba_to_greyscale(int height, int width, unsigned char* data, CallbackFun callback = 0);